

import request from '@/utils/request'

export function listcheckContentSetting(query) {
  return request({
    url: '/system/checkContentSetting/list',
    method: 'get',
    params: query
  })
}
export function selectList(query) {
  return request({
    url: '/system/checkContentSetting/listSelect',

    method: 'get',
    params: query
  })
}
export function delcheckContentSetting(compFeeIds) {
  return request({
    url: '/system/checkContentSetting/' + compFeeIds,
    method: 'delete'
  })
}
export function checkContentSettingAdd(data) {
  return request({
    url: '/system/checkContentSetting',
    method: 'post',
    data: data
  })
}
export function updategcheckContentSetting(data) {
  return request({
    url: '/system/checkContentSetting',
    method: 'put',
    data: data
  })
}
export function checkContentSettingInfo(query) {
  return request({
    url: '/system/checkContentSetting/' + query,
    method: 'get',
  })
}
// 启用禁用供应商
export function effectcheckContentSetting(id, effect) {
  console.log('11')
  return request({
    url: '/system/checkContentSetting/effect/' + id + '/' + effect,
    method: 'put',
  })
}